﻿#region Using

using System.Collections.Generic;

using Common.Base;

using GameLogic.External;

using ServerApplication.Networking;

#endregion

namespace ServerApplication.Interfaces
{
    public interface ICoreToGameSessionManager
    {
        void CreateGameSession(IEnumerable<ServerPlayer> players);

        Result Execute(ICommand cmd);

        bool TryMarkReady(ServerPlayer player);

        Result PauseGame(ServerPlayer player);

        Result QuitGame(ServerPlayer player);

        Result ResumeGame(ServerPlayer player);
    }
}